home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / v8n01.arc / CATALOGX.BAT < prev    next >
DOS Batch File  |  1988-12-13  |  367b  |  11 lines

  1. ECHO OFF
  2. ECHO About to delete all lines from CATALOG.DIR
  3. ECHO that contain the string "%1".  Press any key
  4. ECHO to do it, or press Ctrl-Break to abort.
  5. PAUSE > NUL
  6. FIND "%1" C:\CATALOG.DIR > C:\CATALOG.OUT
  7. TYPE C:\CATALOG.DIR | FIND /V "%1" > C:\CATALOG.TMP
  8. DEL C:\CATALOG.DIR
  9. REN C:\CATALOG.TMP CATALOG.DIR
  10. ECHO Deleted lines are stored in C:\CATALOG.OUT
  11.